<?php 
session_start();
require_once('check_login.php');
require_once('emails_lib.php');

$emails=$_POST['to'];
$subject=$_POST['subject'];
$content=$_POST['content'];
$emails_arr=explode(',',$emails);

send_mail($emails_arr, $subject, $content);



?>